{* Smarty *}
{*
 *  This file is part of Urd.
 *
 *  Urd is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 3 of the License, or
 *  (at your option) any later version.
 *  Urd is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program. See the file "COPYING". If it does not
 *  exist, see <http://www.gnu.org/licenses/>.
 *
 * $LastChangedDate: 2008-06-14 11:01:35 +0200 (Sat, 14 Jun 2008) $
 * $Rev: 1161 $
 * $Author: styck $
 * $Id: ajax_showtransfers.tpl 1161 2008-06-14 09:01:35Z styck $
 *}
{* Ajax page, doesn't need a head/foot tpl *}
<div id="hideoverlay">
<img src="{$IMGDIR}/icon_cancel.png" class="buttonlike" alt="Close" title="Close"  onclick="javascript:hide_popup('transferrenamediv', 'renametransfer');"/>
</div>

<h2>{$LN_transfers_details}</h2>
<br/>
<input type="hidden" name="challenge" id="challenge3" value="{$challenge}"/>
<input type="hidden" name="dlid" id="dlid" value="{$id}" />
<table class="renametransfer">
<tr><td>{$LN_transfers_name}:</td><td><input type="text" size="40" name="dlname" id="dlname" value="{$oldname|escape}"/></td></tr>
<tr><td>{$LN_transfers_archpass}:</td><td><input type="text" size="40" name="dlpass" id="dlpass" value="{$oldpw|escape}"/></td></tr>
<tr><td>{$LN_browse_schedule_at}:</td><td><input type="text" size="40" name="starttime" id="starttime" value="{$starttime|escape}" {if $starttime_noedit == 1}readonly="readonly"{/if} /></td></tr>
<tr><td colspan="2">
<input type="checkbox" name="unpar" {if $oldunpar eq 1}checked="checked" value="on"{else}value="off"{/if} id="unpar" onclick="switch_value('unpar');"/>{$LN_transfers_unpar}
<input type="checkbox" name="unrar" {if $oldunrar eq 1}checked="checked" value="on"{else}value="off"{/if} id="unrar" onclick="switch_value('unrar');"/>{$LN_transfers_unrar}
<input type="checkbox" name="delete" {if $olddelete eq 1}checked="checked" value="on"{else}value="off"{/if} id="delete_files" onclick="switch_value('delete_files');"/>{$LN_transfers_deletefiles}
<input type="checkbox" name="subdl" {if $oldsubdl eq 1}checked="checked" value="on"{else}value="off"{/if} id="subdl" onclick="switch_value('subdl');"/>{$LN_transfers_subdl}
</td></tr>
<tr><td colspan="2">
	<input type="submit" onclick="RenameTransfer();" {popup text=$LN_apply } alt="Submit" name="submit_button" value="{$LN_submit}" class="submit"/> 
</td></tr>
</table>
